package com.demo.service;

import com.demo.response.Result;

import javax.websocket.DeploymentException;
import java.io.IOException;
import java.net.URISyntaxException;
import java.security.NoSuchAlgorithmException;

/**
 * 用户登录
 * @Time 2020-11-24
 */
public interface LoginUserService {

    /**
     * 用户登录
     * @param userLoginName    登录账号
     * @param userPass         登录密码
     * @param workStatus        上班状态：1正常  2值班  3隐身
     * @return
     */
    Result userLogin(String userLoginName,String userPass,Integer workStatus) throws NoSuchAlgorithmException, URISyntaxException, IOException, DeploymentException;


    Result userLoginOut();

}
